#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <securec.h>
#include "sysutil.h"

int main()
{
    char buffer[10];
    errno_t err = memset_s(buffer, sizeof(buffer), 0, sizeof(buffer));

    if (err != 0)
    {
        printf("Error: %d\n", err);
        return 1;
    }

    // buffer 现在全为 0
    std::cout << "buffer: " << buffer<< std::endl;
    std::cout << "current_home: " << getCwd() << std::endl;

    return 0;
}
